Skip to content

eth: add eth_getBlockAccessList - #35476

Open
VanshSahay wants to merge 2 commits into
ethereum:masterfrom
VanshSahay:eth-getblockaccesslist
Open

eth: add eth_getBlockAccessList#35476
VanshSahay wants to merge 2 commits into
ethereum:masterfrom
VanshSahay:eth-getblockaccesslist

Conversation

@VanshSahay

Copy link
Copy Markdown

Implements eth_getBlockAccessList as specced in the execution-apis repo here

Returns the block access list of a block : per-transaction state changes (balance, nonce, code, storage) for each touched account. Unknown blocks return null, blocks that predate the fork return an empty list, also includes an ethclient wrapper

The response types live in ethapi because the bal package's own JSON encoding mirrors execution-spec-tests, whose field names differ from the RPC spec

Tested against a devnet running this branch with Amsterdam active (with kurtosis and spamoor), the returned list hashes to the header's blockAccessListHash , the same devnet also feeds a small statediff viewer I built that renders these per-block changes

@VanshSahay
VanshSahay force-pushed the eth-getblockaccesslist branch from 29cf2a7 to 931fd59 Compare August 23, 2026 20:48
@VanshSahay

Copy link
Copy Markdown
Author

bumping this up! @fjl @lightclient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant